﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TfL
{
    static class ExtensionMethods
    {
        static public TimeSpan ParseTfl(string input)
        {
            string[] fields = input.Split(':');
            int minutes;
            int seconds;
            int.TryParse(fields[0], out minutes);
            int.TryParse(fields[1], out seconds);
            return new TimeSpan(0,minutes,seconds);
        }
    }
}
